import React from 'react'
import { useSearchParams, useParams } from "react-router-dom";

export default function About(props) {
  // const [searchParams, setSearchParams] = useSearchParams()

  // console.log('获取查询参数：', searchParams.get('id'));

  const params = useParams();
  console.log('获取动态参数：', params);

  return (
    <div>About</div>
  )
}
